package cn.tedu.blog.server.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

///**
// * @Author: 雷茂林
// * @Date:2022/7/25 21:30
// * @Description:
// */
//@Data
//public class Category implements Serializable {
//
//    private Long id;
//    private String name;
//    private Integer status;
//    private LocalDateTime createTime;
//    private LocalDateTime updateTime;
//}
@Data
public class Category implements Serializable {
    private Long id;//'分类id/模块id',
    private String name;//'分类名称',
    private Long articleCount;//'分类下的文章数',
    private Integer status;//'分类状态,0=隐藏,1=显示',
    private Integer sort;//'排序值',
    private LocalDateTime gmtCreate;//'数据创建时间',
    private LocalDateTime gmtModified;
}
